<template>
  <div id="app">

    <router-view/>
  </div>
</template>
<script>
  import {personalModel} from "../api/login";

  export default{
    created() {
      // console.log(this.$store.state.personalHeaderImgBig)
      personalModel().then(res=>{
        console.log(res)
        if(res.code==0) {
          this.$store.commit("changeLogin",true)
          console.log(this.$store.state.flag2)
        }
      })
    }
  }
</script>
<style lang="less">
  * {
    margin: 0;
    padding: 0;
    list-style: none;
  }
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /*text-align: center;*/
  color: #2c3e50;
}
  .el-tabs__nav{
    margin-left: 20px;
  }
  .el-tabs__active-bar {
    width: 75px !important;
    left: -16px!important;
  }
  .el-tabs__item {
    padding: 0 30px!important;
    box-shadow: none !important;
  }
  .el-tabs__content {
    padding: 30px;
    font-size: 14px;
    /*text-align: left;*/
  }

</style>
